#ifndef __DEBUGVARS_H__
#define __DEBUGVARS_H__

#include "include/IDebugVars.h"
#include "include/IFont.h"
#include "include/ITextSceneNode.h"

class CDebugVars : public IDebugVars
{
protected:
	std::vector<ITextSceneNode*> VectorVars;
	u32 ActualIndex;
	IFont *Font;
	std::string Temp;
	char ValueStr[100];
	vector2dvpos ActualPos;
public:
	CDebugVars(ISceneNodeBasicParamsDeclaration);
	virtual ~CDebugVars();

	virtual void SetFont(IFont *Font);
	virtual void Adds32(const char *Txt,s32 Value);
	virtual void Addu32(const char *Txt,u32 Value);
	virtual void Addbool(const char *Txt,bool Value);
	void PrepareVariable(const char *Txt);

	void GetNewIText(std::string Text,vector2dvpos &Pos);

	virtual void Render(IDrawableFaceManager *dfm);
	virtual void OnRender()
	{

	}

	virtual void UpdateNode()
	{

	}
};

#endif
